chore!: remove deprecated colors from gamut-styles#3349
Conversation
8113550 to
3028a5f
Compare
|
View your CI Pipeline Execution ↗ for commit 0853ae0 ☁️ Nx Cloud last updated this comment at |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3349 +/- ##
==========================================
- Coverage 90.40% 89.90% -0.50%
==========================================
Files 405 276 -129
Lines 6646 5723 -923
Branches 2149 1891 -258
==========================================
- Hits 6008 5145 -863
+ Misses 630 570 -60
Partials 8 8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
|
||
| This folder houses all shared SCSS style variables. | ||
| It also contains a JavaScript file with color variables. | ||
| TypeScript color tokens and palettes live in `variables/colors.ts` and are exposed on themes as `theme.colors` (see `src/themes/`). Legacy `editorColors`, `platformColors`, `swatches`, and the flat deprecated `colors` map were removed from this package—use `corePalette` / `platformPalette` and theme color modes instead. |
There was a problem hiding this comment.
AI added this, I have no strong feeling about it, but think it's good to mention the removal of colors somewhere.
There was a problem hiding this comment.
seems a little weird to me that we're only mentioning colors when there are a bunch of vars in variables. also theres a bunch of other tokens/helpers within the src folder besides variables
| @@ -1,8 +0,0 @@ | |||
| if (process.env.NODE_ENV === 'development') { | |||
There was a problem hiding this comment.
There was no consuming repo pulling in this variable.
aresnik11
left a comment
There was a problem hiding this comment.
Nice! Small comment on the README but otherwise LGTM
| @@ -5,7 +5,7 @@ Base SCSS for Codecademy | |||
| ## Variables/ | |||
|
|
|||
| This folder houses all shared SCSS style variables. | |||
There was a problem hiding this comment.
none of these are SCSS variables, can we remove
|
|
||
| This folder houses all shared SCSS style variables. | ||
| It also contains a JavaScript file with color variables. | ||
| TypeScript color tokens and palettes live in `variables/colors.ts` and are exposed on themes as `theme.colors` (see `src/themes/`). Legacy `editorColors`, `platformColors`, `swatches`, and the flat deprecated `colors` map were removed from this package—use `corePalette` / `platformPalette` and theme color modes instead. |
There was a problem hiding this comment.
seems a little weird to me that we're only mentioning colors when there are a bunch of vars in variables. also theres a bunch of other tokens/helpers within the src folder besides variables
20c42b9 to
0853ae0
Compare
|
📬 Published Alpha Packages:
|
|
🚀 Styleguide deploy preview ready! Preview URL: https://6a19f7263368f2bbc1315f23--gamut-preview.netlify.app |
Overview
PR Checklist
Testing Instructions
Don't make me tap the sign.
PR Links and Envs